<!DOCTYPE html>
<html lang="en">
    <?php
require("header.php");
?>
    <div class="panel panel-default" style="margin-top: 20px; margin-right: 20px;width: 78%;height:550px;float: right;">
        <div class="panel-heading">
            <!--        此处应有图标-->
            <div><img style="width: 30px;display:inline-block;" src="img/zhizhen.png">
                <h3>发布房源</h3>
            </div>

        </div>
        <div class="panel-body">
            <div>
                <div class="form-group has-success has-feedback">
                    <label for="info_photo" class="col-sm-2 control-label">房源图片</label>
                    <div class="col-sm-10">

                        <span class="btn btn-success btn-file"> 选择图片 <span class="glyphicon glyphicon-picture" aria-hidden="true"></span>
                            <input type="file" name="info_photo" value="" id="info_photo" onchange='PreviewImage(this)' />
                        </span>
                    </div>

                </div>

            </div>
            <div>
                <label for="info_photo" class="col-sm-2 control-label">房源信息</label>
                <form class="text-center" style="margin-top: 100px;" method="post" action="add_room_server.php">
                    <div class="form-group" style="display:inline-block;">
                        <label for="exampleInputEmail1" class="control-label">房间号</label>
                        <input type="text" class="form-control " id="exampleInputEmail1" name="房间号">
                    </div>
                    <div class="form-group" style="display:inline-block;">
                        <label for="exampleInputPassword1" class="control-label">类型</label>
                        <input type="text" class="form-control" id="exampleInputPassword1" name="类型">
                    </div>
                    <div class="form-group" style="display:inline-block;">
                        <label for="exampleInputPassword1" class="control-label">等级</label>
                        <input type="text" class="form-control" id="exampleInputPassword1" name="等级">
                    </div>
                    <div class="form-group" style="display:inline-block;">
                        <label for="exampleInputPassword1" class="control-label">价格</label>
                        <input type="text" class="form-control" id="exampleInputPassword1" name="价格">
                    </div>
                    <button type="submit" class="btn btn-default">发布房源</button>
                </form>
            </div>
        </div>
    </div>
    </body>
</html>
